using System;
using SystemFrameworks.Ecryption;
namespace SystemFrameworks.Util
{
	/// <summary>
	/// Summary description for ConnectionInfo.
	/// </summary>
	public class ConnectionInfo
	{
		public static string DecryptDBConnectionString(string InputConnectionString)
		{

			// If the variable is blank, return the input
			if(InputConnectionString.Equals(string.Empty))
			{
				return InputConnectionString;
			}
			string pb_key = UserKey.GetUserKey;
			return SystemFrameworks.Ecryption.Safe.Decrypt(InputConnectionString,pb_key); 	
					
			
				
		}

	
	}
}
